<script src="${rc.getContextPath()}/manage/js/dwzCustomJs/dwz.custom.tree.search.js" type="text/javascript"></script>
<link href="${rc.getContextPath()}/manage/css/dwzCustomCss/dwz.custom.css?v=${ver}" rel="stylesheet" type="text/css">
<style type="text/css">
.tabs .tabsContent {
    background: #ffffff;
    border-color: #B8D0D6;
}
.alt {
    display: block;
    overflow: hidden;
    position: absolute;
    line-height: 20px;
}
</style>
<script type="text/javascript">
$(function(){
    $("#searchTree",navTab.getCurrentPanel()).baseTreeSearch({
        inputTextId : "#searchProcessParam", //搜索框的id
        alertMsg : "<@label key='treeSearchContent.D'>请输入内容再查找</@label>", //提示内容，要考虑国际化，传自后台
        $p : navTab.getCurrentPanel()
        });
})
function addParamDialogAjaxDone(json){
    DWZ.ajaxDone(json);
    if (json.statusCode == DWZ.statusCode.ok){
        if (json.navTabId){
            $("div#paramList",navTab.getCurrentPanel()).loadUrl(json.forwardUrl, null, function(){ $("div#paramList").find("[layoutH]").layoutH()});
        }
        $.pdialog.closeCurrent();
    }
}
function rmParamDialogAjaxDone(json) {
    DWZ.ajaxDone(json);
    if (json.statusCode == DWZ.statusCode.ok){
        if (json.navTabId){
            $("div#paramList",navTab.getCurrentPanel()).loadUrl(json.forwardUrl, null,  function(){ $("div#paramList").find("[layoutH]").layoutH()});
        }
    }
}
</script>
<div>
<div class="pageContent ">
            <div>
                <div id="modeltree" class="treeleft">
                            <div class="mini-toolbar" >                
                            <input type="text" id="searchProcessParam" />
                            <a class="buttonActive" href="javascript:void(0)" id="searchTree"><span ><@label key='search.B'>搜索</@label></span></a>                
                    </div>
                    <div layoutH="40">
                    <ul class="tree treeFolder expand">
                        <#if processModel??><#list processModel as pmc>
                        <li><a  name="${pmc.name!''}" category="${pmc.category!''}">${pmc.name!''}</a> <#if
                            pmc.processModel??>
                            <ul>
                                <#list pmc.processModel as pm>
                                <li><a id="${pm.id!''}" name="${pm.name!''}" 
                                    href="${rc.getContextPath()}/manage/param/getParamsData?modelId=${pm.id!''}&navTabId=${navTabId!''}"
                                    target="ajax" rel="paramList" key = "${pm.key!''}" >${pm.name!''}</a></li>
                                </#list>
                            </ul> </#if></li> </#list> 
                            </#if>
                    </ul>
                    </div>
                </div>
                <div id="paramList" class="unitBox" layoutH="10" style="margin-left: 280px;">
                     <div  style="padding:10px;">
                    <div class="treeTip"><@label key="treeTips.M">请点击左侧树形菜单进行相关操作</@label></div>
                </div>
                </div>

    </div>
</div>
</div>

